package com.easyfile.easyfilemaster.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chenpeman
 * @date 2022年05月06日 15:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("file_folder")
public class FileFolder {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long fileId;
    private Long folderId;
    private Long userId;
    private String name;
    private String type;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @Version
    private Long version;
    @TableLogic
    private Integer deleted;
}
